package com.zyx.camunda.config;

import cn.hutool.core.util.IdUtil;
import org.camunda.bpm.engine.impl.cfg.IdGenerator;

/**
 * @author Yaxi.Zhang
 * @since 2022/9/6 23:35
 */
public class CustomerSnowFlakeGenerator implements IdGenerator {
    @Override
    public String getNextId() {
        return IdUtil.getSnowflakeNextIdStr();
    }
}
